GARNAME = opengl
CATEGORIES = $(CATEGORY)
LICENSE =

DESCRIPTION = 
define BLURB
endef

DEPENDS = \
	$(if $(filter mesa,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mesa) \
	$(if $(filter mesa-git,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mesa-git) \
	$(if $(filter lima,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mesa-lima) \
	$(if $(filter mali450-dummy,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mali450-dummy) \
	$(if $(filter mali450-fbdev,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mali450-fbdev) \
	$(if $(filter mali450-wayland,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mali450-wayland) \
	$(if $(filter mali450-x11,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/mali450-x11) \
	$(if $(filter brcm-vc4,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/brcm-vc4) \
	$(if $(filter mesa mesa-git lima,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/glu) \
	$(if $(filter mesa mesa-git lima,$(mm_OPENGL_PROVIDER)),$(CATEGORY)/freeglut) \
	$(if $(filter glmark2,$(mm_SOFTWARE)),$(CATEGORY)/glmark2) \
	$(if $(filter kmscube,$(mm_SOFTWARE)),$(CATEGORY)/kmscube) \
	$(if $(filter mesa-demos,$(mm_SOFTWARE)),$(CATEGORY)/mesa-demos) \

CATEGORY := $(shell basename $(shell dirname $(shell pwd)))

include ../../gar.mk

clean-all:
	@$(foreach dir, $(wildcard ../mesa ../mesa-git ../mesa-lima ../mali450-dummy ../mali450-fbdev ../mali450-x11 ../mali450-wayland ../brcm-vc4 ../mesa-demos ../glu ../freeglut ../glew ../virtualgl ../glmark2 ../kmscube), $(MAKE) clean clean-all -C $(dir) ; )
	@$(MAKE) clean
